#include<stdio.h>
main()
{
	int i=1,k=1,s1=0,y,s2=0;
	float x,s3=0,sum;
	for(i=1;i<=100;i++)
	{
		s1=s1+k;
		k=k+1;
		
	}
	for(i=1;i<=50;i++)
	{
		y=k*k;
		s2=s2+y;
		k=k+1;
		
	}
	for(i=1;i<=10;i++)
	{
		x=1/k;
		s3=s3+x;
		k=k+1;
		
	}
	sum=s1+s2+s3;
	printf("%f",sum);
}
